package cn.wolfcode.domain;


import lombok.Data;

@Data
public class Exam {
    /** */
    private Long id;

    /** 试卷名称*/
    private String title;

    /** 考试时长*/
    private Integer examMinute;

    /** 试卷总分*/
    private Integer totalScore;

    private Integer singNumber;

    private Integer singleScore;

    private Integer multipleNumber;

    private Integer multipleScore;

    private Integer judgeNumber;

    private Integer judgeScore;

    public Integer getTotalScore(){
        if (totalScore==null){
            return 0;
        }
        return totalScore;
    }
    public Integer getSingleNumber(){
        if (singNumber==null){
            return 0;
        }
        return singNumber;
    }
    public Integer getSingleScore(){
        if (singleScore==null){
            return 0;
        }
        return singleScore;
    }
    public Integer getMultipleNumber(){
        if (multipleNumber==null){
            return 0;
        }
        return multipleScore;
    }

    public Integer getMultipleScore(){
        if (multipleScore==null){
            return 0;
        }
        return multipleScore;
    }

    public Integer getJudgeNumber(){
        if (judgeNumber==null){
            return 0;
        }
        return judgeNumber;
    }
    public Integer getJudgeScore(){
        if (judgeScore==null){
            return 0;
        }
        return judgeScore;
    }
}